package com.iptv2.front.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the tbl_product_images database table.
 * 
 */
@Entity
@Table(name="tbl_product_images")
public class ProductImage implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id;

	@Temporal(TemporalType.TIMESTAMP)
	private Date createtime;

	@Column(name="order_num")
	private int orderNum;

	@Column(name="p_id")
	private int pId;

	@Column(name="p_s_id")
	private int pSId;

	private String path;

	public ProductImage() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public int getOrderNum() {
		return this.orderNum;
	}

	public void setOrderNum(int orderNum) {
		this.orderNum = orderNum;
	}

	public int getPId() {
		return this.pId;
	}

	public void setPId(int pId) {
		this.pId = pId;
	}

	public int getPSId() {
		return this.pSId;
	}

	public void setPSId(int pSId) {
		this.pSId = pSId;
	}

	public String getPath() {
		return this.path;
	}

	public void setPath(String path) {
		this.path = path;
	}

}